"""
sonlar
"""
a = int(input('Biron son yozing: '))

i = 1
JSUM = 2
TSUM = 1
j = 0
T = 0
for i in range(1, a + 1):
    if i % 2 ==  0:
        j += JSUM
        print(JSUM, 'juft')
        JSUM += 2
    else:
        T = TSUM
        print(TSUM, 'toq')
        TSUM += 2
print('Juft sonlar yig`indisi: ', j, '\nToq sonlar yig`indisi: ', T)
